package com.iflytek.domain;

public class Hero {
    private Integer id;
    private String hname;
    private Integer sex;



    private Role Role;
    public com.iflytek.domain.Role getRole() {
        return Role;
    }

    public void setRole(com.iflytek.domain.Role role) {
        Role = role;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHname() {
        return hname;
    }

    public void setHname(String hname) {
        this.hname = hname;
    }


    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "id=" + id +
                ", hname='" + hname + '\'' +
                ", sex=" + sex +
                ", Role=" + Role +
                '}';
    }

}
